package com.syxp.pda.service.base;

import java.util.List;
import java.util.Set;

import com.syxp.pda.core.service.BaseService;
import com.syxp.pda.entity.base.Department;
import com.syxp.pda.entity.base.Duty;
import com.syxp.pda.entity.base.User;

public interface DepartmentService extends BaseService<Department>{
	public Department loadDutyClass(int departmentID) ;
	
	/**
	 * 根据部门ID获取用户
	 * @param departmentId
	 * @return
	 */
	public Set<User> getUsers(int departmentId);	
	/**
	 * 根据部门获取部门下已配置角色的员工
	 * @param departID
	 * @return
	 */
	public List<User> getUserWithRole(int departID);
	/**
	 * 根据部门ID获取值次
	 * @param departmentId
	 * @return
	 */
	public Set<Duty> getDutys(int departmentId);
}
